package com.ruoyi.app.service.impl;

import com.ruoyi.app.domain.OperStaff;
import com.ruoyi.app.service.impl.mapper.OperStaffMapper;
import com.ruoyi.app.service.IOperStaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IOperStaffServiceImpl implements IOperStaffService {

    @Autowired
    private OperStaffMapper operStaffMapper;
    @Override
    public List<OperStaff> selectOperStaffList(OperStaff operStaff) {
        return operStaffMapper.selectOperStaffList(operStaff);
    }

    @Override
    public OperStaff getOperStaffById(Long id) {
        return operStaffMapper.getOperStaffById(id);
    }

}
